﻿using SharpArch.Core.DomainModel;
using SharpArch.Core.PersistenceSupport;
using NHibernate.Validator.Constraints;
using SharpArch.Core;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace zeus.Core
{
    public class Ciudad : Entity
    {
        [Required(ErrorMessage = "Ingrese  Nombre")]
        [DisplayName("Codigo Unidad")]
        public virtual string Nombre { get; set; }


        [Required(ErrorMessage = "Ingrese  Codigo Pais")]
        [DisplayName("Codigo Pais")]
        public virtual Pais CodigoPais { get; set; }

    }
}
